﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace mjRegister.Entity
{
    public class TeamInfo
    {
        public string info { get; set; }
        public IList<CarTeamInfo> CarTeamInfos = new List<CarTeamInfo>();
        public int teamday { get; set; }
        public bool canoil { get; set; }
        public int matchuid { get; set; }
        public int matchid { get; set; }
    }

    public class OilInfo
    {
        public int teamuid { get; set; }
        public int teamid { get; set; }
    }

    public class CarTeamInfo
    {
        public IList<SimpleUserInfo> SimpleUserInfos = new List<SimpleUserInfo>();
        public string CarTeamName { get; set; }
        public OilInfo OilInfo { get; set; }
    }

    public class MyTeamInfo
    {
        public IList<TeamInfo> TeamInfos = new List<TeamInfo>();
        public MyCarTeamInfo MyCarTeamInfo { get; set; }
    }

    public class MyCarTeamInfo
    {
        public string CarTeamName { get; set; }
        public int matchuid { get; set; }
        public int matchid { get; set; }
        public bool UnionFlag { get; set; }
        public int? TeamId { get; set; }
    }

    public class JourneyInfo
    {
        public IList<CarTeamJourneyInfo> CarTeamJourneyInfos = new List<CarTeamJourneyInfo>();
        public int TotalJourney { get; set; }
    }

    public class CarTeamJourneyInfo
    {
        public string CarTeamName { get; set; }
        public string MatchStatus { get; set; }
        public int Journey { get; set; }
    }

    public enum MatchLine
    {
        达喀尔汽车拉力赛 = 1,
        全国汽车拉力锦标赛 = 2,
        世界拉力锦标赛 = 3,
        环塔克拉玛干沙漠汽车拉力赛 = 4,
        中国警察汽车拉力赛 = 5,
        中国_东盟国际汽车拉力赛 = 6
    }

    public enum OilType
    {
        加油 = 1,
        捣鬼 = 0
    }
}
